package org.gd.hellojaxb.privat24.statements;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "panAccStatement")
public class Statements {

    @XmlElement(name = "maxDate")
    private String maxDate;
    @XmlElement(name = "panMain")
    private String panMain;
    @XmlElement(name = "panAcc", required = true)
    private StatementsPanAcc panAcc;

    public Statements() {
        this.maxDate = "17.12.2012";
        this.panMain = "6705091800000220";
        this.panAcc = new StatementsPanAcc();
    }

    public String getMaxDate() {
        return maxDate;
    }

    public void setMaxDate(String maxDate) {
        this.maxDate = maxDate;
    }

    public String getPanMain() {
        return panMain;
    }

    public void setPanMain(String panMain) {
        this.panMain = panMain;
    }

    public StatementsPanAcc getPanAcc() {
        return panAcc;
    }

    public void setPanAcc(StatementsPanAcc panAcc) {
        this.panAcc = panAcc;
    }
}
